const roleManagement = {
  namespaced: true,
  state: () => ({
    editData: {},
  }),
  mutations: {
    setEditData(state, data) {
      state.editData = data;
    },
  },
  actions: {
    setEditData({ commit }, data) {
      commit("setEditData", data);
    },
  },
  getters: {
    editData: (state) => {
      return state.editData;
    },
  },
};

export default roleManagement;